/*
 *@Type SetCommand.java
 * @Desc
 * @Author urmsone urmsone@163.com
 * @date 2024/6/13 01:59
 * @version
 */
package model.command;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class SetCommand extends AbstractCommand implements Serializable {
    private static final long serialVersionUID = 1L;

    private String key;

    private Object value;

    private String table;

    public SetCommand() {
    }

    public SetCommand(String table,String key, Object value) {
        super(CommandTypeEnum.SET);
        this.table = table;
        this.key = key;
        this.value = value;
    }
}
